package service;

import entity.Orders;
import entity.Ticket;
import entity.User;
import untils.Msg;
import untils.ResultPage;

import java.util.ArrayList;

public interface UserService {

    Msg<ArrayList<Orders>> findPaymentOrder(int user_id);

    Msg<ArrayList<Orders>> findNotPaymentOrder(int userId);

    void deleteOrder(int orderId);

    void deleteTickets(int ticketId);

    ArrayList<User> findUserData(int userId);

    void addUserData(int userId,String uName,String otherphone,String idCard);

    ArrayList<Ticket> findMyTickets(String idCard);

    void lookExe();

    ResultPage<User> findPageUserList(int currentPage);
}
